<div class="main layui-clear">
    <h2 class="page-title">
        用心中心
    </h2>
    <div class="wrap">
        <div class="content">
            <div class="fly-msg">
                您的邮箱尚未验证，这比较影响您的帐号安全，
                <a href="{:U('home/usercore/activate')}">
                    立即去激活？
                </a>
            </div>
            <div class="fly-tab user-tab">
                <span id="LAY-mine">
                    <a href="javascript:;" class="tab-this" type="mine-jie">
                        我的求解（
                        <cite>
                            0
                        </cite>
                        ）
                    </a>
                    <a href="{:U('home/usercore/message')}">
                        我的消息
                    </a>
                    <a href="{:U('home/usercore/u')}/id/ <?php echo $_SESSION['uid'] ?>">
                        我的主页
                    </a>
                </span>
            </div>
            <div class="user-mine">
                <ul class="mine-view jie-row" style="display: block;">
                    <div class="fly-msg">
                        没有相关数据
                    </div>
                </ul>
            </div>
            <div id="LAY-page">
            </div>
        </div>
    </div>
    <div class="edge">
        <div class="user-about">
            <a href="http://fly.layui.com/user/set/#avatar" title="修改头像">
                <img class="user-avatar" src="
                <?php if (substr($_SESSION['face'], 0,4)=='http'){
                        echo $_SESSION['face'];
                    }else{
                      echo  "__ROOT__/".$_SESSION['face'];  
                    }
                    ?>
                ">
            </a>
            <p>
                <span style="color:#333">
                    <?php echo $_SESSION["nikename"]; ?>
                </span>
            </p>
            <p>
                <span>
                    <?php echo $res['create_time'] ?>
                </span>
                <span>
                    飞吻：
                    <em style="color:#FF7200">
                        <?php echo $res['kiss'] ?>
                    </em>
                </span>
            </p>
            <p>
                <span>
                    城市：<?php echo $res['city'] ?>
                </span>
               
                <?php if ($res['sex']=='保密'){ ?>
                    <span>性别： 未知性别</span>
                <?php }else if($res['sex']=='男'){ ?>
                    <span>性别： 男</span>
                <?php }else{ ?>
                    <span>性别： 女</span>
                   <?php } ?>

            </p>
            <p>
                <span>
                </span>
            </p>
            <div class="user-looklog" style="padding-bottom:200px;">
                <h3>
                    最近访客
                </h3>
              
                <span>
                    <?php foreach ($view as $v) { ?>
                        <a href="{:U('home/usercore/u')}/id/<?php echo $v['uid'] ?>">
                            <img src="__ROOT__/<?php echo $v['face'] ?>">
                            <cite>
                               <?php echo $v['nikename'] ?>
                            </cite>
                            <i>
                                <?php echo $v['create_time'] ?>
                            </i>
                        </a>
                    <?php  } ?>
                    
                </span>
            </div>
        </div>
    </div>
</div>